package cn.itsource.pethome.org.domain;

import cn.itsource.pethome.basic.domain.BaseMain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 部门类
 */
@Data//setter和getter,tostring  hashmapp
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class Department extends BaseMain {
    /**部门编号*/
    private String sn;
    /**部门名称*/
    private String name;
    /**部门转台  0代表正常  1 代表禁用*/
    private Integer state;
    /**部门上级*/
    private Department parent;
    /**部门经理*/
    private Employee employee;
}
